<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/11/16
  Time: 14:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <!-- <link type="text/css" rel="stylesheet" href="test3.css" />-->
    <!--<script type="text/javascript" src="<c:url value="/js/jquery-1.5.1.js" />">
    </script>-->
</head>

<%
    application.setAttribute("loginName","123");
    application.setAttribute("loginPwd","123");
%>

<body>
    <div>
        <div>session id:<%=session.getId()%></div>
        <hr>
        <br>
        <div>
            <form action="loginTo.jsp" method="post">
                用户名:<input type="text" name="userName">
                密  码：<input type="password" name="userPwd">
                <input type="submit" value="登录">
            </form>
        </div>
    </div>
</body>
</html>
